package club.looli.haoke.api.service;

import club.looli.haoke.ad.api.ApiAdService;
import club.looli.haoke.ad.entity.Ad;
import club.looli.haoke.common.vo.PageInfo;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

/**
 * <p>
 * Created by looli on 2020/7/12
 * </p>
 *
 * <p>
 *
 * </p>
 *
 * @author looli
 * @since 2020/7/12
 */
@Service
public class AdService {

    @Reference(version = "1.0.0")
    private ApiAdService apiAdService;

    public PageInfo<Ad> queryAdList(Integer type, Integer page, Integer pageSize) {
        return apiAdService.queryAdList(type,page,pageSize);
    }
}
